

public class test
{

   /**
    * @param args
    */
   public static void main(String[] args)
   {
      OurLinkedList<String> list = new OurLinkedList<String>();
      list.add("1");
      list.add("2");
      list.add("3");
      
      System.out.println(list);
      System.out.println(list.getFirst());
      System.out.println(list.getLast());
      
      //list.add(3, "0");
      //System.out.println(list);
      
      list.addFirst("first");
      System.out.println(list);
      list.addLast("last");
      System.out.println(list);


   }

}
